<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@page import="com.lmpop.trade.tb_intervary.*" %>
<%@page import="java.util.*" %>
<html>
  <head>
    
    <title>tb_intervary Manager</title>
	<link href="/program/admin/index/css/style.css" rel="stylesheet" type="text/css">
</head>

<body>

  <% 
  	String trade_id="";
  	if(request.getParameter("trade_id")!=null) trade_id = request.getParameter("trade_id");
  	Tb_intervaryInfo tb_intervaryInfo = new Tb_intervaryInfo();
  	List list = tb_intervaryInfo.getListByPk(trade_id);
  	Hashtable map = new Hashtable();
  	if(list!=null && list.size()>0) map = (Hashtable)list.get(0);
  	
  	String user_id="",vary_num="",reason="",trade_type="",in_date="",publish_user_id="";
  	if(map.get("user_id")!=null) user_id = map.get("user_id").toString();
  	if(map.get("vary_num")!=null) vary_num = map.get("vary_num").toString();
  	if(map.get("reason")!=null) reason = map.get("reason").toString();
  	if(map.get("trade_type")!=null) trade_type = map.get("trade_type").toString();
  	if(map.get("in_date")!=null) in_date = map.get("in_date").toString();
  	if(map.get("publish_user_id")!=null) publish_user_id = map.get("publish_user_id").toString();

  %>
	
	<h1>Update tb_intervary</h1>
	
	<!--
	<table width="100%" align="center" cellpadding="0" cellspacing="0" class="dl_so">
        <tr>
          <td width="9%" align="center"><img src="/program/admin/index/images/ban_01.gif" /></td>
          <td width="91%" align="left">
		  <h4>-----------------</h4>
		  <span>1----------------。</span><br/>
		  <span>2----------------。</span>
		  </td>
        </tr>
      </table>
      <br/>
	  -->
	
	
	<form action="/doTradeReg.do" method="post" name="addForm">
	<table width="100%" cellpadding="0" cellspacing="1" border="0" class="listtab">
		
		<tr>
			<td align="right" width="10%">
				user_id:
			</td>
			<td><input name="user_id" id="user_id" value="<%=user_id %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				vary_num:
			</td>
			<td><input name="vary_num" id="vary_num" value="<%=vary_num %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				reason:
			</td>
			<td><input name="reason" id="reason" value="<%=reason %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				trade_type:
			</td>
			<td><input name="trade_type" id="trade_type" value="<%=trade_type %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				in_date:
			</td>
			<td><input name="in_date" id="in_date" value="<%=in_date %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				publish_user_id:
			</td>
			<td><input name="publish_user_id" id="publish_user_id" value="<%=publish_user_id %>" type="text" /></td>
		</tr>
		
	</table>
	
	<table width="100%" cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td align="center">
				<input type="hidden" name="bpm_id" value="3780" />
	  			<input type="hidden" name="trade_id" value="<%=trade_id %>" />
				<input type="submit" class="buttoncss" name="tradeSub" value="提交" />&nbsp;&nbsp;
				<input type="button" class="buttoncss" name="tradeRut" value="返回" onclick="window.location.href='index.jsp';"/>
			</td>
		</tr>
	</table>
	</form>
</body>

</html>
